<%--
  - Author		:	Jaewon Choi
  - Date			:
  - Description	:	
  --%>
<%@ page language="java" %>
<%@ page contentType="text/html; charset=utf-8" %>
<%@ page pageEncoding="utf-8"%>
<%@ include file="/WEB-INF/pages/includes/taglibs.jspf" %>
<%@ include file="/WEB-INF/pages/includes/variables.jspf" %>
<%@ include file="/WEB-INF/pages/includes/doctype.jspf" %>
<html>
	<head>
<%@ include file="/WEB-INF/pages/includes/metatags.jspf" %>
		<title><fmt:message key="pages.title" /></title>
		<link rel="stylesheet" type="text/css" href="<c:url value="${dirStyles}/common.css" />" />

		<script type="text/javascript" src="<c:url value="${dirScripts}/jquery-1.7.2.min.js" />"></script>
		
		<script type="text/javascript">
		</script>
	</head>
	<body>
		<div class="bodyWrap">
<%@ include file="/WEB-INF/pages/includes/header.jsp" %>
<%@ include file="/WEB-INF/pages/includes/left.jsp" %>
			<div class="contWrap">
				<div class="menuTitle">
					푸시메시지 >  발송 테스트
				</div>
				<form id="frm" name="frm" method="post" enctype="multipart/form-data" action="<c:url value="/gcm/sendTest.do" />">
					<table class="frmTbl">
						<colgroup>
							<col width="130px;" />
							<col width="*" />
						</colgroup>
						<tbody>
							<tr>
								<th>기기 KEY</th>
								<td>
									<input type="text" name="deviceKey" value="${param.deviceKey}" style="width:660px;" />
								</td>
							</tr>
							<tr>
								<th>제목 *</th>
								<td>
									<input type="text" name="title" value="${param.title}" maxlength="12" style="width:660px;" />
								</td>
							</tr>
							<tr>
								<th>알림바 문구</th>
								<td>
									<input type="text" name="subtitle" class="subtitle" value="${param.subtitle}" maxlength="50" style="width:660px;" />
								</td>
							</tr>
							<tr>
								<th>내용 *</th>
								<td>
									<input type="text" name="message" class="message" value="${param.message}" maxlength="20" style="width:660px;" />
								</td>
							</tr>
						</tbody>
						<tfoot>
							<tr>
								<td colspan="2">
									<c:if test="${not empty errorCodeName}">
										${errorCodeName}
									</c:if>
								</td>
							</tr>
						</tfoot>
					</table>
					<input type="submit" class="btn" value="발송" />
				</form>
			</div>
<%@ include file="/WEB-INF/pages/includes/footer.jsp" %>
		</div>
	</body>
</html> 